package com.papers.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import lombok.Data;

import java.util.Date;

/**
 * 院系视图对象 t_juan_department
 *
 * @author papers
 * @date 2022-10-08
 */
@Data
@ExcelIgnoreUnannotated
public class TJuanDepartmentVo {

    private static final long serialVersionUID = 1L;

    /**
     * 院系ID
     */
    @ExcelIgnore
    @ExcelProperty(value = "院系ID")
    private String departId;

    /**
     * 院系编号
     */
    @ColumnWidth(15)
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
    @ExcelProperty(value = "院系编号")
    private String departCode;

    /**
     * 院系名称
     */
    @ColumnWidth(15)
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
    @ExcelProperty(value = "院系名称")
    private String departName;

    /**
     * 院系描述
     */
//    @ColumnWidth(15)
//    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
    @ExcelIgnore
    @ExcelProperty(value = "院系描述")
    private String departDesp;

    /**
     * 创建人
     */
    @ColumnWidth(10)
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
    @ExcelProperty(value = "创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @ColumnWidth(18)
    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
    @ExcelProperty(value = "创建时间")
    private Date createdTime;

    /**
     * 更新人
     */
//    @ColumnWidth(10)
//    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
    @ExcelIgnore
    @ExcelProperty(value = "更新人")
    private String updatedBy;

    /**
     * 更新时间
     */
//    @ColumnWidth(18)
//    @ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
    @ExcelIgnore
    @ExcelProperty(value = "更新时间")
    private Date updatedTime;

}
